﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Fluq
{
	public interface IDependencyResolver
	{
		bool TryResolve(object graphId, IDependencyContainer container, IDependencyKey key, out object instance);

		bool TryResolve(IDependencyContainer container, IDependencyKey key, out object instance);

		bool TryRelease(IDependencyContainer container, object instance);
	}
}
